<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<title></title>
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<link rel="stylesheet" type="text/css" href="../../../css/mui.min.css" />
	<link rel="stylesheet" type="text/css" href="../../../css/pages/secondHand.css" />
</head>

<body>
	<div id="app" class="relation">
		<div class="back" id="back" @click="backClick">
			<div class="back-btn">
				<span class="mui-icon mui-icon-arrowleft"></span>
			</div>
		</div>
		<div class="img-wapper">
			<img class="product" :src="datas.filesPath">
			<div class="cowry">
				<div class="cowry-desc">
					<span class="name" v-text="datas.usecTitle"></span>
					<div class="price m-t-10">
						<span class="font-12">￥</span>
						<span v-text="datas.usecPrice"></span>
					</div>
				</div>
			</div>
		</div>
		<div  class="user">
			<div class="title">宝贝卖家</div>
			<div class="user-desc">
				<img class="user-img" :src="datas.icon || '../../../images/user/moren.png'">
				<div class="user-data">
					<span class="user-title" v-text="datas.periNickname || '不愿透露的姓名的卖家'"></span>
					<span class="font-14 font-c-7f" v-text="'联系电话：' + datas.phone"></span>
				</div>
			</div>
		</div>
		
		<div class="details">
			<div class="title">物品描述</div>
			<div class="txt" v-text="datas.usecdDetails"></div>
		</div>
		<div class="ipone" @click="ipontClick">
			<img src="../images/details/ipone.png">
		</div>
	</div>
	<script src="../../../js/Width.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../../js/mui.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../../js/Util.js" type="text/javascript" charset="utf-8"></script>
	<script src="https://cdn.bootcss.com/fastclick/1.0.6/fastclick.min.js"></script>
	<script type="text/javascript">
		mui.init()
		mui.plusReady(function () {
			Util.StatusbarHeight('back')
			if (!mui.os.android) {
				FastClick.attach(document.body);
			}
			var data = plus.webview.currentWebview().data;
			app.datas = data
		})

		var app = new Vue({
			el: "#app",
			data: {
				datas: {}
			},
			methods: {
				ipontClick: function () {
					plus.device.dial(this.datas.phone, false);
				},
				backClick: function () {
					mui.back()
				}
			}
		})
	</script>
</body>

</html>
